import com.dmotiko.bolacua.*
import com.dmotiko.general.*

class PricesLoader
extends DataXMLLoader {

	private function parserFunction(){
		var news:Array = xml.firstChild.childNodes;
			var newsData:Array = new Array();
			var oNew:Object;
			for (var i:Number = 0; i < news.length; i++) {
				oNew = news[i].attributes;
				newsData[ news[i].attributes.name ] = oNew;
				
				newsData.push(oNew);
			}
		this.data = newsData;
		loadEnd();
	}
	
}